package com.xmy.cultivate.mapper;

import com.xmy.cultivate.entity.RecordCourseLack;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 * 记上课先扣课时，金额保存 Mapper 接口
 * </p>
 *
 * @author hpiggy
 * @since 2024-03-20
 */
public interface RecordCourseLackMapper extends BaseMapper<RecordCourseLack> {

    @Update("update record_course_lack set deleted= ${deleted} where id = ${id}")
    public Integer updateDeleted(@Param("id") Long id, @Param("deleted") Integer deleted);

}
